package com.files.annotation;

import lombok.Data;

/**
 * @author yuanqaing
 * @date 2024/12/11
 * 目标：通过注解将People的 code 属性值赋值给 name，age 属性值赋值给 age
 */
@Data
public class Student {

    @MyAnnotation(property = "code")
    private String name;

    @MyAnnotation(property = "age")
    private int age;
}
